/*
 * @Author: hongbin
 * @Date: 2022-09-22 08:17:59
 * @LastEditors: hongbin
 * @LastEditTime: 2022-11-19 14:28:30
 * @Description:SEO
 */
import Head from "next/head";
import { FC } from "react";
import styled from "styled-components";

interface IProps {
    title?: string;
}

/**
 * SEO 头部信息
 */
const SEOHeader: FC<IProps> = ({ title = "宇宙" }) => {
    return (
        <Head>
            <title>{title}</title>
            <meta name="description" content="欢迎来访" />
        </Head>
    );
};

export default SEOHeader;

const Container = styled.div``;
